﻿using System;
using System.Collections.Generic;
using System.Text;
using ProcessControl.Entity;

namespace ProcessControl.Interface
{
    public interface IPO
    { 
        /// <summary>
        /// 更新PO的行数据状态
        /// </summary>
        /// <param name="MaterialName"></param>
        /// <param name="FormID"></param>
        /// <returns></returns>
        bool UpdateRowsStatus(string MaterialName, string FormID);

        /// <summary>
        /// 更新PO的行数据的已使用数量
        /// </summary>
        /// <param name="MaterialName"></param>
        /// <param name="FormID"></param>
        /// <returns></returns>
        bool UpdateRowsUsedQty(string MaterialName, string FormID, int UsedQty);
    }
}
